package cn.powerone.scm.service;

import java.util.List;
import cn.powerone.scm.domain.ScmSupplierAddress;

/**
 * 供应商地址Service接口
 * 
 * @author PowerOne
 * @date 2025-06-26
 */
public interface IScmSupplierAddressService 
{
    /**
     * 查询供应商地址
     * 
     * @param id 供应商地址主键
     * @return 供应商地址
     */
    public ScmSupplierAddress selectScmSupplierAddressById(Long id);

    /**
     * 查询供应商地址列表
     * 
     * @param scmSupplierAddress 供应商地址
     * @return 供应商地址集合
     */
    public List<ScmSupplierAddress> selectScmSupplierAddressList(ScmSupplierAddress scmSupplierAddress);

    /**
     * 新增供应商地址
     * 
     * @param scmSupplierAddress 供应商地址
     * @return 结果
     */
    public int insertScmSupplierAddress(ScmSupplierAddress scmSupplierAddress);

    /**
     * 修改供应商地址
     * 
     * @param scmSupplierAddress 供应商地址
     * @return 结果
     */
    public int updateScmSupplierAddress(ScmSupplierAddress scmSupplierAddress);

    /**
     * 批量删除供应商地址
     * 
     * @param ids 需要删除的供应商地址主键集合
     * @return 结果
     */
    public int deleteScmSupplierAddressByIds(Long[] ids);

    /**
     * 删除供应商地址信息
     * 
     * @param id 供应商地址主键
     * @return 结果
     */
    public int deleteScmSupplierAddressById(Long id);

    String importData(List<ScmSupplierAddress> scmSupplierAddresses, boolean updateSupport, String operName);
}
